package com.yex.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.yex.entity.InvestmentEntity;
import org.apache.ibatis.annotations.Param;

/**
 * 报单
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-01-03 15:02:27
 */
public interface InvestmentDao extends BaseMapper<InvestmentEntity> {

    InvestmentEntity selectByOne();

    InvestmentEntity selectEndTimeByOne();

    Integer updateEndTimeByDynamicStatus(@Param("investmentId") Integer investmentId);

    Integer updateDynamicStatus(@Param("investmentId") Integer investmentId);

    InvestmentEntity selectEndTimeByDynamic();

}
